﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="<%=path%>/css/main.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/dialog.css" rel="stylesheet" type="text/css" />
		<script language="javascript" type="text/javascript" src="<%=path%>/js/include.js"></script>
		<script language="javascript" type="text/javascript" src="<%=path%>/js/dialog.js"></script>
		<script language="javascript" type="text/javascript">
			function upstatus(pkMessage){
				var url="<%=path%>/infopub/readMessage?pkMessage="+pkMessage;
				location.href = url;
			}
		</script>
	</head>
	<body class="fullbody">
		<div class="context">
			<div class="position">
				<div class="tposi">
					当前位置：
					<a href="<%=request.getContextPath()%>/infopub/pubmain"
						class="linkstyle">首页</a>
				</div>
			</div>
			<div class="margin5"></div>
			<div class="worklist">
				<div class="wltitle">
					<div class="titlepos">
						<img src="<%=path%>/images/main/icon0.gif" alt="" />
						&nbsp;
						<a href="<%=path%>/infopub/moreWaitingInfo">待办事项(${workListSize})</a>
					</div>
				</div>
				<div class="wlcontent">
					<c:if test="${workList!=null}">
						<c:forEach items="${workList}" var="work">
							<div class="article">
								<c:if test="${work.pkBillType != 'EC35-2'}">
									<a href="<%=path%>/${work.url}" onclick="upstatus('${work.pkMessage}')" class="linkstyle2">${work.sendTime}&nbsp;&nbsp;&nbsp;${work.subject}</a>
								</c:if>
								<c:if test="${work.pkBillType == 'EC35-2'}">
									<a href="<%=path%>/infopub/pubmain" onclick="upstatus('${work.pkMessage}')" class="linkstyle2">${work.sendTime}&nbsp;&nbsp;&nbsp;${work.subject}</a>
								</c:if>
							</div>
						</c:forEach>
					</c:if>
				</div>
			</div>
			<div class="newsblock">
				<div class="newsblock1 padleft">
					<div class="artlist padleft">
						<div class="altitle">
							<div class="alpos">
								<img src="<%=path%>/images/main/icon1.gif" alt="" />
								&nbsp;公告栏
							</div>
							<div class="more">
								<a href="<%=path%>/infopub/purannounce" class="linkstyle3">更多&gt;&gt;</a>
							</div>
						</div>
						<div class="alcontent">
							<c:if test="${purAnnounce!=null}">
								<c:forEach items="${purAnnounce}" var="pur">
									<div class="alcont">
										<c:if test="${pur.invite_type != 1}">
											<a href="<%=path%>/infopub/showcontent?id=${pur.pk_infopub_h}"
												class="linkstyle2">${pur.pubtime}&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
										</c:if>	
										<c:if test="${pur.invite_type == 1}">
											<a href="<%=path%>/sourcing/biddingprojlist/releaseinviteinfo?pkProj=${pur.purproj_id}&pkProjStep=${pur.proj_step_id}"
												class="linkstyle2">${pur.pubtime}&nbsp;&nbsp;&nbsp;[邀请公告]&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
										</c:if>	
									</div>
								</c:forEach>
							</c:if>
						</div>
					</div>
					<div class="artlist padleft">
						<div class="altitle">
							<div class="alpos">
								<img src="<%=path%>/images/main/icon2.gif" alt="" />
								&nbsp;预警信息(${preAlertListSize})
							</div>
							<div class="more">
								<a href="<%=path%>/infopub/moreWarningInfo" class="linkstyle3">更多&gt;&gt;</a>
							</div>
						</div>
						<div class="alcontent">
							<c:if test="${preAlertList!=null}">
								<c:forEach items="${preAlertList}" var="preAlert">
									<div class="alcont">
										<a href="<%=path%>/infopub/warningDetailInfo?pkMessage=${preAlert.pkMessage}&req=pubmain" class="linkstyle2">
											${preAlert.sendTime}&nbsp;&nbsp;&nbsp;${preAlert.subject}</a>
									</div>
								</c:forEach>
							</c:if>
						</div>
					</div>
				</div>
				<div class="newsblock1 padright">
					<div class="artlist padright">
						<div class="altitle">
							<div class="alpos">
								<img src="<%=path%>/images/main/icon3.gif" alt="" />
								&nbsp;采购动向
							</div>
							<div class="more">
								<a href="<%=path%>/infopub/viewpurtrends" class="linkstyle3">更多&gt;&gt;</a>
							</div>
						</div>
						<div class="alcontent">
							<c:if test="${purEtrends!=null}">
								<c:forEach items="${purEtrends}" var="pur">
									<div class="alcont">
										<a href="<%=path%>/infopub/showcontent?id=${pur.pk_infopub_h}"
											class="linkstyle2">${pur.pubtime}&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
									</div>
								</c:forEach>
							</c:if>
						</div>
					</div>
					<div class="artlist padright">
						<div class="altitle">
							<div class="alpos">
								<img src="<%=path%>/images/main/icon4.gif" alt="" />
								&nbsp;政策法规
							</div>
							<div class="more">
								<a href="<%=path%>/infopub/viewlawrule" class="linkstyle3">更多&gt;&gt;</a>
							</div>
						</div>
						<div class="alcontent">
							<c:if test="${lawAndRule!=null}">
								<c:forEach items="${lawAndRule}" var="pur">
									<div class="alcont">
										<a href="<%=path%>/infopub/showcontent?id=${pur.pk_infopub_h}"
											class="linkstyle2">${pur.pubtime}&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
									</div>
								</c:forEach>
							</c:if>
						</div>
					</div>
				</div>
			</div>
			<div class="margin10">
			</div>
		</div>
	</body>
</html>
